package com.ztgf.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-06-30 10:06
 * Description: 订单退换货表对象
 */
@Data
@TableName("order_return_commodity")
@ApiModel(value = "订单退换货表对象", description = "订单退换货表对象")
public class OrderReturnCommodityDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "订单商品表id")
    private Long orderCommodityId;
    @ApiModelProperty(value = "买家店铺id")
    private Long buyersShopId;
    @ApiModelProperty(value = "卖家店铺id")
    private Long sellerShopId;
    @ApiModelProperty(value = "服务单号")
    private String serviceOrderNumber;
    @ApiModelProperty(value = "申请类型;0申请退货，1申请换货,2申请退款不退货")
    private Integer type;
    @ApiModelProperty(value = "提交数量")
    private Integer subNumber;
    @ApiModelProperty(value = "退换货原因;0质量问题，1真假掺售")
    private Integer returnReason;
    @ApiModelProperty(value = "问题描述")
    private String problemDescription;
    @ApiModelProperty(value = "凭证地址;上传凭证地址，用逗号隔开")
    private String certificateFile;
    @ApiModelProperty(value = "联系人")
    private String contactUser;
    @ApiModelProperty(value = "联系电话")
    private String contactPhone;
    @ApiModelProperty(value = "售后状态;0未售后、1申请售后、2售后中、3售后完成")
    private Integer afterSalesState;
    @ApiModelProperty(value = "售后审核状态;0未审核、1审核中，2卖家同意、3卖家不同意,4取消售后")
    private Integer afterSalesAuditState;
    @ApiModelProperty(value = "平台介入状态;0未介入、1介入中、2协调、3买赢、4卖赢")
    private Integer interventionState;
    @ApiModelProperty(value = "介入买家状态;0未确定、1同意、2不同意")
    private Integer buyersState;
    @ApiModelProperty(value = "介入卖家状态;0未确定、1同意、2不同意")
    private Integer sellerState;
    @ApiModelProperty(value = "发货状态 0未发货、1买家待发货、2卖家待发货，3买家待签收，4卖家待签收，5买家已签收，6卖家已签收")
    private Integer shipState;
    @ApiModelProperty(value = "是否取消;0未取消，1已取消")
    private Integer isCancel;
    @ApiModelProperty(value = "是否退款;0不退款，1要退款")
    private Integer isRefund;
    @ApiModelProperty(value = "退换货卖家区域id")
    private String afterSellerAreaId;
    @ApiModelProperty(value = "退换货卖家地址")
    private String afterSellerAddress;
    @ApiModelProperty(value = "退换货卖家联系电话")
    private String afterSellerPhone;
    @ApiModelProperty(value = "退换货卖家联系人")
    private String afterSellerUser;
    @ApiModelProperty(value = "卖家拒绝理由")
    private String sellerRefuseReason;
    @ApiModelProperty(value = "平台备注")
    private String platformRemarks;
    @ApiModelProperty(value = "买家地址id")
    private Long buyersAddressId;
    @ApiModelProperty(value = "退款订单id")
    private Long payOrderRepayId;
    @ApiModelProperty(value = "类型 0余额、1网银")
    private Integer payType;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundPrice;
    @ApiModelProperty(value = "退款状态 0 未退款 1 退款中 2已退款 3退款失败")
    private Integer refundStatus;
    @ApiModelProperty("中金流水号")
    private String zjBusinessId;
    @ApiModelProperty(value = "平台协调状态:0未协调,1买赢,2卖赢")
    private Integer consortState;
    @ApiModelProperty(value = "平台协调备注")
    private String consortRemarks;
    @ApiModelProperty(value = "售后买家是否查看，0未查看，1已查看")
    private Integer isBuyerLook;
    @ApiModelProperty(value = "售后卖家是否查看，0未查看，1已查看")
    private Integer isSellerLook;


    @ApiModelProperty(value = "商品砍价成功后的退款服务费")
    private BigDecimal purchaseFeeMoneyScaleBackPrice;
    @ApiModelProperty(value = "商品砍价成功后的服务费退款状态 0未处理，1支付中、2支付成、3支付失败")
    private Integer purchaseFeeMoneyScalePriceBackStatus;

    @ApiModelProperty(value = "退款佣金")
    private BigDecimal refundCommissionMoney;
    @ApiModelProperty(value = "退款佣金状态 0未处理，1支付中、2支付成、3支付失败")
    private Integer refundCommissionMoneyStatus;
}
